package com.tanhua.dubbo.api;

import com.tanhua.model.db.Comment;

import java.util.List;

/**
 * @auther : 白月尘
 * @date : 14:44  2021/10/21
 */
public interface CommentApi {
    List<Comment> comment(Integer page, Integer pageSize, String movementId);

    List<Comment> commentByVideo(Integer page, Integer pageSize, String videoId);

    Integer save(Comment comment1);

    boolean hasComment(String id, long userId, int i);


    Integer delete(String id, long userId, int i);

    Integer saveComments(Comment comment);

    Integer saveCommentLike(Comment comment1);

    Integer deleteCommentLike(String id, long userId, int i);
}
